<? if($edit){?>
<form id="theform" name="theform" action="?action=user&op=admingroup" method="post">
<table style="margin-left:5px;">
	<? foreach($actions as $k=>$v){
        $child = explode('_',$v);
        if(in_array($k,array(0,4,10,17,22,25,30,34,41))){
        ?>
        <tr><td colspan="2"><b><? echo $operationstr[$v.'_lang']?>:</b></td></tr>
        <? }elseif(in_array($k,array(21,40))){?>
		<tr><td colspan="2"><b><? echo $operationstr[$v.'_lang']?>:</b></td></tr>
    <tr><td colspan="2">
    <input class="radio" type="radio" name="disabledactionnew[<? echo $v;?>]" value="1" <? if($group['allow'.$v]){?> checked<? }?>> 是<input class="radio" type="radio" name="disabledactionnew[<? echo $v;?>]" value="0" <? if(!$group['allow'.$v]){?> checked<? }?>> 否</td>
    </tr>
		<? }else{?>
        <tr><td width="10"></td><td><? echo $operationstr[$v.'_lang']?>:</td></tr>
    <tr><td width="10"></td><td>
    <input class="radio" type="radio" name="disabledactionnew[<? echo $v;?>]" value="1" <? if($group['allow'.$v]){?> checked<? }?>> 是<input class="radio" type="radio" name="disabledactionnew[<? echo $v;?>]" value="0"  <? if(!$group['allow'.$v]){?> checked<? }?> > 否</td>
    </tr>
        <? }?>
    <? }?>
</table>
</form>
<? }else{?>
	<div id="nav">
		当前位置: <a href="?action=default">管理首页</a> <span>&gt;</span> 用户组列表
	</div>

	<!--列表-->
<form id="theform" name="theform" action="?action=user&op=del" method="post">
<div class="block">
<table summary="" cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
	<th>&nbsp;</th>
	<th style="width: 30%;">名称</th>
	<th style="width: 30%;">类型</th>
	<th style="width: 20%;">操作</th>
	</tr>
	<tr class="trbgcolor">
		<td><input type="checkbox" name="id[]" value="" /></td>
		<td>
		· <strong class="presubject">管理员</strong>
		</td>
		<td>system</td>
		<td class="smalltxt"><a href="?action=user&op=admingroup&edit=1">管理权限</a></td>
	</tr>
    <tr class="trbgcolor">
		<td><input type="checkbox" name="id[]" value="" /></td>
		<td>
		· <strong class="presubject">普通用户</strong>
		</td>
		<td>member</td>
		<td class="smalltxt"><a href="?action=user&op=admingroup&edit=2">管理权限</a></td>
	</tr>
</table>
</div>
	<div class="tbfootaction">
		<input type="checkbox" id="chkall" name="chkall" onclick="checkall(this.form, 'id')" />全选 <button value="true" type="submit" class="submit" name="delsubmit" title="删除">删除</button>
	</div>
	</form>
		<!--列表END-->
<? }?>